package com.ysu.zyw.web.vo;

import java.util.List;

import org.activiti.engine.runtime.ProcessInstance;
import org.activiti.engine.task.Comment;
import org.activiti.engine.task.Task;

import com.ysu.zyw.entity.ReimbursementBusiness;
import com.ysu.zyw.entity.User;

public class TaskVo {
    private ProcessInstance processInstance;
    private Task task;
    private ReimbursementBusiness reimbursementBusiness;
    private List<Comment> commentList;
    private User user;

    public TaskVo() {
        super();
    }

    public TaskVo(ProcessInstance processInstance, Task task, ReimbursementBusiness reimbursementBusiness,
            List<Comment> commentList, User user) {
        super();
        this.processInstance = processInstance;
        this.task = task;
        this.reimbursementBusiness = reimbursementBusiness;
        this.commentList = commentList;
        this.user = user;
    }

    @Override
    public String toString() {
        return "TaskVo [processInstance=" + processInstance + ", task=" + task + ", reimbursementBusiness="
                + reimbursementBusiness + ", commentList=" + commentList + ", user=" + user + "]";
    }

    public ProcessInstance getProcessInstance() {
        return processInstance;
    }

    public void setProcessInstance(ProcessInstance processInstance) {
        this.processInstance = processInstance;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public ReimbursementBusiness getReimbursementBusiness() {
        return reimbursementBusiness;
    }

    public void setReimbursementBusiness(ReimbursementBusiness reimbursementBusiness) {
        this.reimbursementBusiness = reimbursementBusiness;
    }

    public List<Comment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

}
